<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>添加公司</title>
    <link rel="stylesheet" href="./layui/css/layui.css">
    <link rel="stylesheet" href="./css/index.css">
    <link rel="Shortcut Icon" href="cachet.ico">
    <script src="./js/jquery.min.js"></script>
    <script src="./js/addimg.js"></script>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header">
        <div class="layui-logo"><img src="./images/logon.png" alt=""></div>

        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item new_nav-item">
                <a href="javascript:;" class="new_a">
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
                    黄孝铭
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">账户信息</a></dd>
                    <dd><a href="">密码修改</a></dd>
                    <dd><a href="">退出登录</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
            <ul class="layui-nav layui-nav-tree"  lay-filter="test">
                <li class="layui-nav-item"><a class="icon_index" href="javascript:;">首页</a></li>
                <li class="layui-nav-item icon_tow">管理</li>
                <li class="layui-nav-item text-center  layui-this"><a href="javascript:;">公司管理</a></li>
                <li class="layui-nav-item text-center"><a href="javascript:;">用户管理</a></li>
                <li class="layui-nav-item text-center"><a href="javascript:;">印章管理</a></li>
                <li class="layui-nav-item icon_three">审核</li>
                <li class="layui-nav-item text-center"><a href="javascript:;">公司管理</a></li>
                <li class="layui-nav-item icon_four">设置</li>
                <li class="layui-nav-item text-center"><a href="javascript:;">账户设置</a></li>
                <li class="layui-nav-item text-center"><a href="javascript:;">密码修改</a></li>
            </ul>
        </div>
    </div>

    <div class="layui-body">
        <!-- 内容主体区域 -->
        <div class="body_right">
            <h4 class="nav_title">公司添加</h4>
            <ul class="create_iconbox">
                <li>
                    <i class="icon_top1 icon"></i>
                    <span>填写公司信息</span>
                </li>
                <li>
                    <i class="icon_top2 icon"></i>
                    <span>创建管理员账户</span>
                </li>
                <li>
                    <i class="icon_top3 icon"></i>
                    <span>账户开通</span>
                </li>
                <li class="line"></li>
            </ul>
            <div class="layui-form create_boxform" >
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">企业类型：</label>
                        <div class="layui-input-block">
                            <select name="interest" lay-filter="aihao">
                                <option value="0" selected="">1</option>
                                <option value="1">2</option>
                                <option value="2" >3</option>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label ">企业名称:</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name"  autocomplete="off" class="layui-input" placeholder="请输入公司名称">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">统一信用代码:</label>
                        <div class="layui-input-inline">
                            <input type="text" name="" lay-verify="" autocomplete="off" class="layui-input" placeholder="请输入统一信用代码">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">营业期限:</label>
                        <div class="layui-input-inline">
                            <input type="text" class="layui-input" id="test6" placeholder=" 请选择营业期限 ">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">营业执照:</label>
                        <div class="layui-input-inline add_mebtn">
                            <div class="user-file-img" id="zmobj"></div>
                            <input type="file" name="" id="zm" value="" class="user-file-input"/>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">法人姓名:</label>
                        <div class="layui-input-inline">
                            <input type="text" name="name" lay-verify="" autocomplete="off" class="layui-input" placeholder="请输入法人姓名">

                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">身份证号:</label>
                        <div class="layui-input-inline">
                            <input type="text" name="email" lay-verify="email" autocomplete="off" class="layui-input" placeholder="请输入身份证">
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label">法人身份证:</label>
                        <div class="layui-input-inline add_mebtn">
                            <div class="user-file-img" id="zmobj1"></div>
                            <input type="file" name="" id="zm1" value="" class="user-file-input"/>
                            <p class="add_titps">正面照</p>
                        </div>
                        <div class="layui-input-inline add_mebtn">
                            <div class="user-file-img" id="zmobj2"></div>
                            <input type="file" name="" id="zm2" value="" class="user-file-input"/>
                            <p class="add_titps">正面照</p>
                        </div>
                    </div>
                </div>
                <div class="layui-inline-block">
                    <div class="layui-input-block">
                        <a href="创建管理员.html" class="layui-btn passworrd_btn">下一步</a>
                    </div>
                </div>
            </div>
        </div>
     </div>
    <div class="layui-footer">
        <!-- 底部固定区域 -->
        © layui.com - 底部固定区域
    </div>
</div>
<script src="./layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use(['element','form','layedit','laydate','laypage'], function(){
        var element = layui.element;
        var form = layui.form;
        var layedit = layui.layedit
        var laydate = layui.laydate;
        var laypage = layui.laypage;
        var   layer = layui.layer;
        //日期范围
        laydate.render({
            elem: '#test6'
            ,range: true
        });
        ImagePreview({'dom':'zm','obj':'zmobj'});//dom后为上传input的id,obj后为承载这个图片的div容器id
        ImagePreview({'dom':'zm1','obj':'zmobj1'});
        ImagePreview({'dom':'zm2','obj':'zmobj2'});
    });
</script>
</body>
</html>